package com.example.teesystem.service;

import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.Class;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.entity.vo.*;
import com.example.teesystem.entity.vo.clazz.*;


/**
* @author 28131
* @description 针对表【t_class】的数据库操作Service
* @createDate 2022-03-28 11:46:43
*/
public interface ClassService extends IService<Class> {
    
    boolean add(ClassUploadVo classUploadVo);
    
    boolean update(ClassUpdateVo classUpdateVo);
    
    PageResponseVo<ClassResponseVo> getClasses(ClassSelectVo classSelectVo);

    int getCourseId(int id);
    
    boolean delete(ClassDeleteVo classDeleteVo);

    Response classEvaluate(int courseId);
    
}